VBCCE - SMTP <-> ccmail gateway

What is it?

What do you need ?

Setup :

 

register the OCX's
Unzip the files into a folder somewhere,
Put the DLL in either the windows/system or the program folder
create the following folders on your C drive

These are used to store files and extraction while it runs!
Open up 'Ccmailnew.vbp' with VBCCE
Edit the defaults in ccmail.frm (Form1)
Edit smtpsend.bas - OURDOMAIN
See if you can get it to RUN!

How does it work?

It is based on the following configuration :

internet UUCP account .....Linux Box....NT Running VBccmail....ccmail post office.

The Linux box basically forwards any email at the local host it doesnt know about to the NT via SMTP
VBccmail, listens for SMTP incomming data. and decodes addresses based on name.postoffice.ccmail@yourdomainname.com.. It then decodes the message and uses ccimport to put it into the ccmail database. In reverse, it runs ccexport every 3/4 mins if any mail is going to the INTERNET postbox it picks it up and delivers it to a SMTP server.

If you feel adventurous you could write a POP client for it so it could pick up mail from POP accounts!, but as we run both UNIX mail and cc:Mail, this set up suited us.

BUGS!!

Yeap got some of those, it has problems with file locking and stuff, and VB asked to debug. - Often just Continuing will be OK.
If your disk becomes full or the network server becomes disconnected it tends to bug out!
Theres alot of redundant & messy code in it. (bar that it works to some extent!)
There is alot of hacking to deal with the UUCP Bang(!) trick
If it goes down, and mail is being sent to it from linux, I never managed to set sendmail correctly to bounce the message, so the postmaster ususally gets it!

Future.....

Unfortunatly, I now have other things to do...!! one day I would like to rewrite this in Perl and see if I can get ccimport/export to work under UMDOS (Linux's DOS shell), but we will probably phase out ccmail by then!
If you do use this code and modify it, please send me a copy alan_k@hk.super.net or put it on the web so I can link to it.

The code is released under GPL - eg. make copies ammendments, etc. at will,

 

http://www.hk.super.net/~alan_k/vbccmail.htm 18 Feb 1998